﻿<Window x:Class="NetworkPower.UI.ProjectForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="工程窗口" Height="332" Width="378" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
    <Grid Margin="0,0,2,4">
        <Label Content="搜索" HorizontalAlignment="Left" VerticalAlignment="Top" RenderTransformOrigin="1.235,0.462" Margin="10,16,0,0"/>
        <TextBox HorizontalAlignment="Left" Height="21" Margin="49,20,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="311" TextChanged="TextBox_TextChanged" Name="txtSearch"/>
        <ListBox HorizontalAlignment="Left" Height="205" Margin="10,46,0,0" VerticalAlignment="Top" Width="350" SelectionChanged="ListBox_SelectionChanged" Name="lbProject"/>
        <Button Name="CreateProgram" Content="新建工程" HorizontalAlignment="Left" Margin="10,263,0,0" VerticalAlignment="Top" Width="75" Click="CreateProgram_Click"/>
        <Button Name="EnterProgram" Content="进入工程" HorizontalAlignment="Left" Margin="191,263,0,0" VerticalAlignment="Top" Width="75" Click="EnterProgram_Click"/>
        <Button Content="录入数据" HorizontalAlignment="Left" Margin="95,263,0,0" VerticalAlignment="Top" Width="85" Click="Button_Click"/>
        <Button Content="定义设备" HorizontalAlignment="Left" VerticalAlignment="Top" Width="85" Margin="275,263,0,0" Name="btnDefineDevice" Click="btnDefineDevice_Click"></Button>
    </Grid>
</Window>
